﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TSVNAddinUtils
{
	public class UnRegisterCommandFactory : IUtilsCommandFactory
	{
		public IUtilsCommand CreateCommand()
		{
			UtilsCommandList commands = new UtilsCommandList();
			commands.Add(
				new ResetAddinCommand(
					new ProcessExecutor(),
					new VisualStudioConfig(
						new RegistryAdapter()
					)
				)
			);

			commands.Add(
				new RemoveBarCommand(
					new DTEInstanceCreator(),
					new GenericFactory()
				)
			);

			return commands;
		}
	}
}
